Optimal. Leaf size=207 \[ \frac {\left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) x \sqrt {a+c x^2}}{16 c^2}+\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {e \left (8 d \left (13 c d^2-8 a e^2\right )+3 e \left (16 c d^2-5 a e^2\right ) x\right ) \left (a+c x^2\right )^{3/2}}{120 c^2}+\frac {a \left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{16 c^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 207, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {757, 847, 794,
201, 223, 212} \begin {gather*} \frac {x \sqrt {a+c x^2} \left (a^2 e^4-12 a c d^2 e^2+8 c^2 d^4\right )}{16 c^2}+\frac {a \left (a^2 e^4-12 a c d^2 e^2+8 c^2 d^4\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{16 c^{5/2}}+\frac {e \left (a+c x^2\right )^{3/2} \left (3 e x \left (16 c d^2-5 a e^2\right )+8 d \left (13 c d^2-8 a e^2\right )\right )}{120 c^2}+\frac {e \left (a+c x^2\right )^{3/2} (d+e x)^3}{6 c}+\frac {3 d e \left (a+c x^2\right )^{3/2} (d+e x)^2}{10 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 212
Rule 223
Rule 757
Rule 794
Rule 847
Rubi steps
\begin {align*} \int (d+e x)^4 \sqrt {a+c x^2} \, dx &=\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {\int (d+e x)^2 \left (3 \left (2 c d^2-a e^2\right )+9 c d e x\right ) \sqrt {a+c x^2} \, dx}{6 c}\\ &=\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {\int (d+e x) \left (3 c d \left (10 c d^2-11 a e^2\right )+3 c e \left (16 c d^2-5 a e^2\right ) x\right ) \sqrt {a+c x^2} \, dx}{30 c^2}\\ &=\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {e \left (8 d \left (13 c d^2-8 a e^2\right )+3 e \left (16 c d^2-5 a e^2\right ) x\right ) \left (a+c x^2\right )^{3/2}}{120 c^2}+\frac {\left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) \int \sqrt {a+c x^2} \, dx}{8 c^2}\\ &=\frac {\left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) x \sqrt {a+c x^2}}{16 c^2}+\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {e \left (8 d \left (13 c d^2-8 a e^2\right )+3 e \left (16 c d^2-5 a e^2\right ) x\right ) \left (a+c x^2\right )^{3/2}}{120 c^2}+\frac {\left (a \left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right )\right ) \int \frac {1}{\sqrt {a+c x^2}} \, dx}{16 c^2}\\ &=\frac {\left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) x \sqrt {a+c x^2}}{16 c^2}+\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {e \left (8 d \left (13 c d^2-8 a e^2\right )+3 e \left (16 c d^2-5 a e^2\right ) x\right ) \left (a+c x^2\right )^{3/2}}{120 c^2}+\frac {\left (a \left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right )\right ) \text {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {a+c x^2}}\right )}{16 c^2}\\ &=\frac {\left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) x \sqrt {a+c x^2}}{16 c^2}+\frac {3 d e (d+e x)^2 \left (a+c x^2\right )^{3/2}}{10 c}+\frac {e (d+e x)^3 \left (a+c x^2\right )^{3/2}}{6 c}+\frac {e \left (8 d \left (13 c d^2-8 a e^2\right )+3 e \left (16 c d^2-5 a e^2\right ) x\right ) \left (a+c x^2\right )^{3/2}}{120 c^2}+\frac {a \left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{16 c^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.44, size = 176, normalized size = 0.85 \begin {gather*} \frac {\sqrt {c} \sqrt {a+c x^2} \left (-a^2 e^3 (128 d+15 e x)+2 a c e \left (160 d^3+90 d^2 e x+32 d e^2 x^2+5 e^3 x^3\right )+8 c^2 x \left (15 d^4+40 d^3 e x+45 d^2 e^2 x^2+24 d e^3 x^3+5 e^4 x^4\right )\right )-15 a \left (8 c^2 d^4-12 a c d^2 e^2+a^2 e^4\right ) \log \left (-\sqrt {c} x+\sqrt {a+c x^2}\right )}{240 c^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.53, size = 248, normalized size = 1.20
method | result | size |
risch | \(-\frac {\left (-40 c^{2} x^{5} e^{4}-192 c^{2} d \,e^{3} x^{4}-10 a c \,e^{4} x^{3}-360 c^{2} d^{2} e^{2} x^{3}-64 a c d \,e^{3} x^{2}-320 c^{2} d^{3} e \,x^{2}+15 a^{2} e^{4} x -180 a c \,d^{2} e^{2} x -120 c^{2} d^{4} x +128 a^{2} d \,e^{3}-320 a c \,d^{3} e \right ) \sqrt {c \,x^{2}+a}}{240 c^{2}}+\frac {a^{3} \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right ) e^{4}}{16 c^{\frac {5}{2}}}-\frac {3 a^{2} \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right ) d^{2} e^{2}}{4 c^{\frac {3}{2}}}+\frac {a \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right ) d^{4}}{2 \sqrt {c}}\) | \(215\) |
default | \(e^{4} \left (\frac {x^{3} \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{6 c}-\frac {a \left (\frac {x \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{4 c}-\frac {a \left (\frac {x \sqrt {c \,x^{2}+a}}{2}+\frac {a \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right )}{2 \sqrt {c}}\right )}{4 c}\right )}{2 c}\right )+4 d \,e^{3} \left (\frac {x^{2} \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{5 c}-\frac {2 a \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{15 c^{2}}\right )+6 d^{2} e^{2} \left (\frac {x \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{4 c}-\frac {a \left (\frac {x \sqrt {c \,x^{2}+a}}{2}+\frac {a \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right )}{2 \sqrt {c}}\right )}{4 c}\right )+\frac {4 d^{3} e \left (c \,x^{2}+a \right )^{\frac {3}{2}}}{3 c}+d^{4} \left (\frac {x \sqrt {c \,x^{2}+a}}{2}+\frac {a \ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right )}{2 \sqrt {c}}\right )\) | \(248\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 230, normalized size = 1.11 \begin {gather*} \frac {1}{2} \, \sqrt {c x^{2} + a} d^{4} x + \frac {a d^{4} \operatorname {arsinh}\left (\frac {c x}{\sqrt {a c}}\right )}{2 \, \sqrt {c}} + \frac {{\left (c x^{2} + a\right )}^{\frac {3}{2}} x^{3} e^{4}}{6 \, c} + \frac {4 \, {\left (c x^{2} + a\right )}^{\frac {3}{2}} d x^{2} e^{3}}{5 \, c} + \frac {3 \, {\left (c x^{2} + a\right )}^{\frac {3}{2}} d^{2} x e^{2}}{2 \, c} - \frac {3 \, \sqrt {c x^{2} + a} a d^{2} x e^{2}}{4 \, c} - \frac {3 \, a^{2} d^{2} \operatorname {arsinh}\left (\frac {c x}{\sqrt {a c}}\right ) e^{2}}{4 \, c^{\frac {3}{2}}} + \frac {4 \, {\left (c x^{2} + a\right )}^{\frac {3}{2}} d^{3} e}{3 \, c} - \frac {{\left (c x^{2} + a\right )}^{\frac {3}{2}} a x e^{4}}{8 \, c^{2}} + \frac {\sqrt {c x^{2} + a} a^{2} x e^{4}}{16 \, c^{2}} + \frac {a^{3} \operatorname {arsinh}\left (\frac {c x}{\sqrt {a c}}\right ) e^{4}}{16 \, c^{\frac {5}{2}}} - \frac {8 \, {\left (c x^{2} + a\right )}^{\frac {3}{2}} a d e^{3}}{15 \, c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.65, size = 378, normalized size = 1.83 \begin {gather*} \left [\frac {15 \, {\left (8 \, a c^{2} d^{4} - 12 \, a^{2} c d^{2} e^{2} + a^{3} e^{4}\right )} \sqrt {c} \log \left (-2 \, c x^{2} - 2 \, \sqrt {c x^{2} + a} \sqrt {c} x - a\right ) + 2 \, {\left (120 \, c^{3} d^{4} x + 5 \, {\left (8 \, c^{3} x^{5} + 2 \, a c^{2} x^{3} - 3 \, a^{2} c x\right )} e^{4} + 64 \, {\left (3 \, c^{3} d x^{4} + a c^{2} d x^{2} - 2 \, a^{2} c d\right )} e^{3} + 180 \, {\left (2 \, c^{3} d^{2} x^{3} + a c^{2} d^{2} x\right )} e^{2} + 320 \, {\left (c^{3} d^{3} x^{2} + a c^{2} d^{3}\right )} e\right )} \sqrt {c x^{2} + a}}{480 \, c^{3}}, -\frac {15 \, {\left (8 \, a c^{2} d^{4} - 12 \, a^{2} c d^{2} e^{2} + a^{3} e^{4}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {-c} x}{\sqrt {c x^{2} + a}}\right ) - {\left (120 \, c^{3} d^{4} x + 5 \, {\left (8 \, c^{3} x^{5} + 2 \, a c^{2} x^{3} - 3 \, a^{2} c x\right )} e^{4} + 64 \, {\left (3 \, c^{3} d x^{4} + a c^{2} d x^{2} - 2 \, a^{2} c d\right )} e^{3} + 180 \, {\left (2 \, c^{3} d^{2} x^{3} + a c^{2} d^{2} x\right )} e^{2} + 320 \, {\left (c^{3} d^{3} x^{2} + a c^{2} d^{3}\right )} e\right )} \sqrt {c x^{2} + a}}{240 \, c^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 8.33, size = 411, normalized size = 1.99 \begin {gather*} - \frac {a^{\frac {5}{2}} e^{4} x}{16 c^{2} \sqrt {1 + \frac {c x^{2}}{a}}} + \frac {3 a^{\frac {3}{2}} d^{2} e^{2} x}{4 c \sqrt {1 + \frac {c x^{2}}{a}}} - \frac {a^{\frac {3}{2}} e^{4} x^{3}}{48 c \sqrt {1 + \frac {c x^{2}}{a}}} + \frac {\sqrt {a} d^{4} x \sqrt {1 + \frac {c x^{2}}{a}}}{2} + \frac {9 \sqrt {a} d^{2} e^{2} x^{3}}{4 \sqrt {1 + \frac {c x^{2}}{a}}} + \frac {5 \sqrt {a} e^{4} x^{5}}{24 \sqrt {1 + \frac {c x^{2}}{a}}} + \frac {a^{3} e^{4} \operatorname {asinh}{\left (\frac {\sqrt {c} x}{\sqrt {a}} \right )}}{16 c^{\frac {5}{2}}} - \frac {3 a^{2} d^{2} e^{2} \operatorname {asinh}{\left (\frac {\sqrt {c} x}{\sqrt {a}} \right )}}{4 c^{\frac {3}{2}}} + \frac {a d^{4} \operatorname {asinh}{\left (\frac {\sqrt {c} x}{\sqrt {a}} \right )}}{2 \sqrt {c}} + 4 d^{3} e \left (\begin {cases} \frac {\sqrt {a} x^{2}}{2} & \text {for}\: c = 0 \\\frac {\left (a + c x^{2}\right )^{\frac {3}{2}}}{3 c} & \text {otherwise} \end {cases}\right ) + 4 d e^{3} \left (\begin {cases} - \frac {2 a^{2} \sqrt {a + c x^{2}}}{15 c^{2}} + \frac {a x^{2} \sqrt {a + c x^{2}}}{15 c} + \frac {x^{4} \sqrt {a + c x^{2}}}{5} & \text {for}\: c \neq 0 \\\frac {\sqrt {a} x^{4}}{4} & \text {otherwise} \end {cases}\right ) + \frac {3 c d^{2} e^{2} x^{5}}{2 \sqrt {a} \sqrt {1 + \frac {c x^{2}}{a}}} + \frac {c e^{4} x^{7}}{6 \sqrt {a} \sqrt {1 + \frac {c x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.73, size = 197, normalized size = 0.95 \begin {gather*} \frac {1}{240} \, \sqrt {c x^{2} + a} {\left ({\left (2 \, {\left ({\left (4 \, {\left (5 \, x e^{4} + 24 \, d e^{3}\right )} x + \frac {5 \, {\left (36 \, c^{4} d^{2} e^{2} + a c^{3} e^{4}\right )}}{c^{4}}\right )} x + \frac {32 \, {\left (5 \, c^{4} d^{3} e + a c^{3} d e^{3}\right )}}{c^{4}}\right )} x + \frac {15 \, {\left (8 \, c^{4} d^{4} + 12 \, a c^{3} d^{2} e^{2} - a^{2} c^{2} e^{4}\right )}}{c^{4}}\right )} x + \frac {64 \, {\left (5 \, a c^{3} d^{3} e - 2 \, a^{2} c^{2} d e^{3}\right )}}{c^{4}}\right )} - \frac {{\left (8 \, a c^{2} d^{4} - 12 \, a^{2} c d^{2} e^{2} + a^{3} e^{4}\right )} \log \left ({\left | -\sqrt {c} x + \sqrt {c x^{2} + a} \right |}\right )}{16 \, c^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {c\,x^2+a}\,{\left (d+e\,x\right )}^4 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________